sdtypestruct module

class sd.api.sdtypestruct.SDTypeStruct(APIContext, handle, *args, **kwargs)

Bases: sd.api.sdtype.SDType

Class used to store information about a structure type

getClassName() → str

Returns the most specific name of the class this APIObject is

getId() → str

Get the type identifier string

getMembers() → sd.api.sdarray.SDArray[sd.api.sdproperty.SDProperty][sd.api.sdproperty.SDProperty]

Get the members of the struct

getModifier() → sd.api.sdtype.SDTypeModifier

Get the type modifier (see SDTypeModifier enum)

release() → None

Releases an APIObject

static sNew(sdTypeStructId: str) → Optional[sd.api.sdtypestruct.SDTypeStruct]

Create a new SDTypeStruct from the specified type Id

Parameters

sdTypeStructId – The Id of the SDTypeStruct type to retrieve